Adds the specified item to the end of the collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Sub Add( _
ByVal item As T _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterCollection(Of T)
Dim item As T
instance.Add(item)
|
C# | |
---|
public virtual void Add(
T item
) |
C++/CLI | |
---|
public:
virtual void Add(
T item
) |
Parameters
- item
- Object to add.
Return Value
The index of the newly added item.
Example
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also